<?php
class VideoViewModel extends ViewModel
{
	public $viewFields = array(
     'Video' => array('vid','code','url','cateid','imageurl','title','uploadtime','uid','status','is_hot','point','downscore','is_dele','_type'=>'LEFT'),
	'User' => array('username','nickname','_on'=>'Video.uid = User.uid')
    );
}
?>